package lpl.com.xyd.test.manage.convert;

import lpl.com.xyd.test.manage.domain.UserDomain;
import lpl.com.xyd.test.manage.info.UserInfo;
import org.springframework.beans.BeanUtils;

public class UserInfoConvert{

    public static UserInfo convert(UserDomain domain){
        UserInfo info = new UserInfo();
        BeanUtils.copyProperties(domain,info);
        return info;
    }

}
